﻿#include "Resources.Designer.h"

namespace Client::Properties
{

System::Resources::ResourceManager *Resources::resourceMan;
System::Globalization::CultureInfo *Resources::resourceCulture;

    Resources::Resources()
    {
    }

    System::Resources::ResourceManager *Resources::getResourceManager()
    {
        if (std::any::ReferenceEquals(resourceMan, nullptr))
        {
//C# TO C++ CONVERTER TODO TASK: There is no C++ equivalent to the C# 'typeof' operator:
            System::Resources::ResourceManager *temp = new System::Resources::ResourceManager("Client.Properties.Resources", typeof(Resources)->Assembly);
            resourceMan = temp;

//C# TO C++ CONVERTER TODO TASK: A 'delete temp' statement was not added since temp was assigned to a field. Handle memory management manually.
        }
        return resourceMan;
    }

    System::Globalization::CultureInfo *Resources::getCulture()
    {
        return resourceCulture;
    }

    void Resources::setCulture(System::Globalization::CultureInfo *value)
    {
        resourceCulture = value;
    }

    System::Drawing::Bitmap *Resources::getBlueProgress()
    {
        std::any obj = getResourceManager()->GetObject("Blue_Progress", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getCheckFBase2()
    {
        std::any obj = getResourceManager()->GetObject("CheckF_Base2", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getCheckFHover()
    {
        std::any obj = getResourceManager()->GetObject("CheckF_Hover", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getCheckFPressed()
    {
        std::any obj = getResourceManager()->GetObject("CheckF_Pressed", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getConfigBase()
    {
        std::any obj = getResourceManager()->GetObject("Config_Base", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getConfigBase1()
    {
        std::any obj = getResourceManager()->GetObject("Config_Base1", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getConfigCheckOff1()
    {
        std::any obj = getResourceManager()->GetObject("Config_Check_Off1", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getConfigCheckOn()
    {
        std::any obj = getResourceManager()->GetObject("Config_Check_On", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getConfigHover()
    {
        std::any obj = getResourceManager()->GetObject("Config_Hover", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getConfigPressed()
    {
        std::any obj = getResourceManager()->GetObject("Config_Pressed", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getConfigRadioOn()
    {
        std::any obj = getResourceManager()->GetObject("Config_Radio_On", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getCrossBase()
    {
        std::any obj = getResourceManager()->GetObject("Cross_Base", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getCrossHover()
    {
        std::any obj = getResourceManager()->GetObject("Cross_Hover", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getCrossPressed()
    {
        std::any obj = getResourceManager()->GetObject("Cross_Pressed", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getGreenProgress()
    {
        std::any obj = getResourceManager()->GetObject("Green_Progress", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getLaunchBase()
    {
        std::any obj = getResourceManager()->GetObject("Launch_Base", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getLaunchBase1()
    {
        std::any obj = getResourceManager()->GetObject("Launch_Base1", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getLaunchHover()
    {
        std::any obj = getResourceManager()->GetObject("Launch_Hover", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getLaunchPressed()
    {
        std::any obj = getResourceManager()->GetObject("Launch_Pressed", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getNEWProgressEnd_Blue_()
    {
        std::any obj = getResourceManager()->GetObject("NEW_Progress_End_(Blue)", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getNEWProgressEnd_Green_()
    {
        std::any obj = getResourceManager()->GetObject("NEW_Progress_End_(Green)", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getPfffft()
    {
        std::any obj = getResourceManager()->GetObject("pfffft", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getRadioUnactive()
    {
        std::any obj = getResourceManager()->GetObject("Radio_Unactive", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getServerBase()
    {
        std::any obj = getResourceManager()->GetObject("server_base", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }

    System::Drawing::Bitmap *Resources::getTextboxes()
    {
        std::any obj = getResourceManager()->GetObject("textboxes", resourceCulture);
        return (std::any_cast<System::Drawing::Bitmap*>(obj));
    }
}
